<script setup>

import UserSelect from "@/components/User/UserSelect.vue";

const detailInfo = inject('detailInfo');

const formData = computed(()=> {
  let detailValue = detailInfo.value;
  if (!detailValue || !detailValue.formData) {
    return {};
  }
  return detailValue.formData;
})


</script>

<template>
  <el-form label-width="100">

    <el-form label-width="100">
      <el-row>
        <el-col :span="24">
          <el-form-item label="领用人" prop="remark">
            <user-select disabled v-model="formData.targetUserId"></user-select>
          </el-form-item>
          <el-form-item label="备注" prop="remark">
            <el-input disabled type="textarea" v-model="formData.remark" placeholder="请输入" />
          </el-form-item>
        </el-col>
      </el-row>
    </el-form>

  </el-form>

</template>

<style scoped lang="scss">

</style>